home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Libris Britannia 4
/
science library(b).zip
/
science library(b)
/
SCIENTIF
/
3665.ZIP
/
PEDHLP13.ZIP
/
PRMSP
< prev
next >
Wrap
Text File
|
1991-06-14
|
5KB
|
110 lines
<PRINTING>
The full details of the options available with PRMSP are as
follows:
Format: PRMSP infile.msp [outfile.prn] [/flag1 /flag2 etc.]
infile.msp - the name of the saved MSP file to be printed
out.
outfile.prn - the name of a file to be printed to. This is
optional and if no name is given then the printer (PRN) will
be used instead.
/I - this flag means print to an IBM-compatible printer
instead of an Epson-compatible printer.
/P - this flag means print the pedigree with the paper in
"portrait" orientation - across the page - instead of the
default "landscape" orientation - down the page. Note that
in earlier versions of PRMSP this had the opposite effect
because it was taken to refer to the orientation of the diagram
rather than the paper.
/H - high density - will work only with Epson-compatible 24-
pin printer to give a picture three times smaller than
above, or twice as small on a Hewlett-Packard compatible
laser printer.
/D - draught mode - should be quicker but lower quality for
dot matrix printers in high density mode or "portrait"
orientation. On Hewlett-Packard compatible laser printers
prints out double normal size.
/Snumber - this flag means print "number" spaces before each
line of the picture - use it to control where the graph
appears on the page. The default is 6. (Only for dot matrix
printers.)
/Lnumber - this flag controls the line spacing on the
printer, as used by the ESC A command. By default "number"
is set to 8, but if the lines of your graph come out
separated or overlapping, then using this flag may help you
to adjust the line-spacing to produce a better picture.
(Only for dot matrix printers.)
/Fnumber - this flag lets you determine whether a line feed
(new line) character is sent to your printer with each
carriage return character. If number is 0 then no line feed
is sent, if it is 1 then a line feed is sent. The default is
1. If your graph comes out "double-spaced" - with gaps
between each line -then specifying /F0 may cure the problem.
(Only for dot matrix printers.)
/FF - send a formfeed (new page) after printing the file.
(You must use this flag on the last file you print on a
PostScript printer, but other files can be printed on the
same page first.)
/HP - produce output for a Hewlett-Packard compatible laser
printer.
/PS - produce output for a PostScript printer.
For Hewlett-Packard or PostScript printers only:
/OXnumber - x origin, default 72. Measured in points (1/72")
approximately from the bottom left corner of an A4 page.
/OYnumber - y origin, default 72 in "portrait" orientation
for bottom left corner, or 720 in "lanscape" orientation for
top left corner.
For PostScript printers only:
/SXnumber - x scale, default 1.0.
/SYnumber - y scale, default 1.0.
/ROnumber - rotation about origin, default 0.0
Example use of PRMSP:
PRMSP 12990.MSP TEMP.PRN /S12 /I
The file 12990.MSP would be printed out to the file
TEMP.PRN, in a format suitable for sending to an IBM-
compatible printer. Then later TEMP.PRN could be printed by
entering:
PRINT TEMP.PRN
The advantage of this is that by using the DOS PRINT command
printing occurs in background - you can get on with other
things while the graph is being printed.
Note: except in the case of PostScript printers, PRMSP
cannot work if your computer does not send 8 data bits to
the printer. This is sometimes altered by the MODE command
which is usually in the AUTOEXEC.BAT file - see your DOS
manual for details -and it is especially likely to have been
used if your printer is on a serial cable rather than the
ordinary "Centronics" parallel cable. Also make sure that
your printer is set to receive 8 bits rather than 7 - see
your printer manual if you have problems.
Note that to print just one file on a PostScript printer you
should use the /FF flag to produce a formfeed.